// 导入二次封装的axios
import { get, post } from '@/utils/axios.js';

// 获取banner列表并导出
export let bannerList = () => {get('/banner/list')}
// 获取商品列表并导出
export let goodsList = () => { get( '/shop/goods/list' ) }
// 获取商品详细
export let detail = (id) => { get('/shop/goods/detail'), {id}}